#ifndef __OTA_H
#define __OTA_H
#include "Com_Debug.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_http_client.h"
#include "esp_crt_bundle.h"
#include "esp_mac.h"
#include "nvs.h"
#include "cJSON.h"
#include "esp_app_desc.h"
#include "freertos/event_groups.h"

typedef struct
{
    char *device_id;
    char *client_id;

    char *ws_url;
    char *token;

    char *activation_code;
} my_ota_t;
extern my_ota_t my_ota;

void ota_check_version(void);

#endif
